package com.element.music.controller;

import com.element.music.component.cofig.BaseResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 功能描述：健康检查
 * <p>
 * User: element_demo developer
 * Date: 2022/1/10
 */

@RestController
public class HealthController {

    @GetMapping("health")
    public BaseResponse healthCheck(){
        return BaseResponse.of().setCode(0).setMsg("success").setData(true);
    }

}
